public class InheritNoninstantiable extends NoninstantiableClass {

	/**
	 * noninstantiable class will prevent inheritance, because there is no valid
	 * constructor
	 */
	public InheritNoninstantiable() {
		super.getStack();
	}

	/**
	 * both FINAL and STATIC method can't been override
	 * 
	 * @return
	 */
	private Stack getStack() {
		Stack s = new Stack();
		s.push(111);
		return s;
	}

	private void s() {
		super.overidableFun();
	}

}
